package com.xtwy.sevice;


import com.xtwy.entity.SysRole;
import com.xtwy.entity.UserInfo;

import java.util.List;
import java.util.Set;

public interface UserInfoService {
    /**通过username查找用户信息;*/
    UserInfo findByUsername(String username);
    /***通过用户名查询角色*/
    Set<String> getUserInfoAndSysRole(String username);
}